package com.shp.pojo;

/**
 * Description:
 * 钱包
 * @author zwl
 * @version 1.0
 * @date 2020/2/28 13:18
 */
public class Purse {
    private Integer id;
    /**
     * 用户id
     */
    private Integer user_id;
    /**
     * 用户邮箱
     */
    private String email;
    /**
     * 钱包总金额
     */
    private Float balance;
    /**
     * 钱包状态
     */
    private Byte status;

    /**
     * 充值状况
     */
    private Recharge recharge;
    /**
     * 体现状况
     */
    private Withdrawals withdrawals;

    @Override
    public String toString() {
        return "Purse{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", email=" + email +
                ", balance=" + balance +
                ", status=" + status +
                ", recharge=" + recharge +
                ", withdrawals=" + withdrawals +
                '}';
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Float getBalance() {
        return balance;
    }

    public void setBalance(Float balance) {
        this.balance = balance;
    }

    public Recharge getRecharge() {
        return recharge;
    }

    public void setRecharge(Recharge recharge) {
        this.recharge = recharge;
    }

    public Withdrawals getWithdrawals() {
        return withdrawals;
    }

    public void setWithdrawals(Withdrawals withdrawals) {
        this.withdrawals = withdrawals;
    }
}
